
capture rm "${path_tables}/table_GATES_${g}_treated.tex"
texdoc init "${path_tables}/table_GATES_${g}_treated.tex"


tex	\begin{tabular}{>{}S[table-format=2.2]%
tex >{}S[table-format=2.2]%
tex >{}S[table-format=2.2]} \toprule

tex {25\% Least} & {25\% Most} & {Difference} \\ \midrule

*tex \multicolumn{3}{l}{Treated vs control} \\ \addlinespace

tex  ${GATE1_${g}_treated} &  ${GATE4_${g}_treated} &  ${GATEd_${g}_treated} \\ 
tex  {(${GATE1_ll_${g}_treated}, ${GATE1_ul_${g}_treated})} & {(${GATE4_ll_${g}_treated}, ${GATE4_ul_${g}_treated})}  & {(${GATEd_ll_${g}_treated}, ${GATEd_ul_${g}_treated})}  \\

tex  {[${GATE1_p_${g}_treated}]} & {[${GATE4_p_${g}_treated}]} & {[${GATEd_p_${g}_treated}]} \\ \bottomrule
tex \end{tabular} 
texdoc close



